//
//  xsAuthorityCollectionView.h
//  digital_robot_demo
//
//  Created by xskj on 2024/8/30.
// 官方

#import <UIKit/UIKit.h>
#import "xsAuthorityCollectionViewHeadView.h"
#import "xsAuthorityCollectionViewCell.h"

NS_ASSUME_NONNULL_BEGIN

@interface xsAuthorityCollectionView : UICollectionView

//aspectRatio    图片比例 1竖屏 2横屏
- (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout withAspectRatio:(NSInteger)aspectRatio;

// collectionTyp 0我的  1纯色  2官方
@property (nonatomic,copy)void(^AuthorityCollectionCellCallBackBlock)(id model,NSInteger collectionTyp);

- (void)xsAuthorityCollectionLoadDataWithId:(NSInteger)IdInt;

- (NSArray *)xsCollectionViewDataArray;

@end

NS_ASSUME_NONNULL_END
